package com.hyq.learn.api.model.event;

import org.springframework.context.ApplicationEvent;

/**
 * @author heyuqin
 * @date 2025/8/27 17:21
 */
public class EventOne extends ApplicationEvent {

    private String name;

    public EventOne(Object source, String name) {
        super(source);
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
